package com.guo.fristspringboot.mapper;

import com.guo.fristspringboot.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {

    Student getById(String s_id);

    List<Student> getAll();

    List<Student> getAllandScore(String s_id);

    List<Student> getThisOne(@Param("tname") String t_name ,@Param("tid") String t_id);

    List<Student> getSoms(String s_id,String som);

    List<Student> getLike(String s_name);

}
